﻿using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Data.SqlClient;

/// <summary>
/// PurviewManage 的摘要说明
/// </summary>
public class PurviewManage
{
	public PurviewManage()
	{
		//
		// TODO: 在此处添加构造函数逻辑
		//
	}
    DataBase data = new DataBase();

    #region 定义管理员权限--数据结构
    private string id = "";
    private bool sysset = false;
    private bool readset = false;
    private bool bookset = false;
    private bool borrowback = false;
    private bool sysquery = true;

    /// <summary>
    /// G管理员编号
    /// </summary>
    public string ID
    {
        get { return id; }
        set { id = value; }
    }
    /// <summary>
    /// 系统设置
    /// </summary>
    public bool SysSet
    {
        get { return sysset; }
        set { sysset = value; }
    }
    /// <summary>
    /// 读者管理
    /// </summary>
    public bool ReadSet
    {
        get { return readset; }
        set { readset = value; }
    }
    /// <summary>
    /// 图书管理
    /// </summary>
    public bool BookSet
    {
        get { return bookset; }
        set { bookset = value; }
    }
    /// <summary>
    /// 图书借还
    /// </summary>
    public bool BorrowBack
    {
        get { return borrowback; }
        set { borrowback = value; }
    }
    /// <summary>
    /// 系统查询
    /// </summary>
    public bool SysQuery
    {
        get { return sysquery; }
        set { sysquery = value; }
    }
    #endregion

}
